services.btrbk.instances.<name>.settings

configuration options for btrbk. Nested attrsets translate to subsections.

Type
open submodule of attribute set of (string or instances of this type recursively)
Default
{ }
Example
{
  snapshot_preserve = "14d";
  snapshot_preserve_min = "2d";
  volume = {
    "/mnt/btr_pool" = {
      subvolume = {
        home = {
          snapshot_create = "always";
        };
        rootfs = { };
      };
      target = "/mnt/btr_backup/mylaptop";
    };
  };
}
Declared
<nixpkgs/nixos/modules/services/backup/btrbk.nix>